From b4117181ed395c861a431000246b92dd7a4d38ad Mon Sep 17 00:00:00 2001 From: Ceph Maintainers Date: Sun, 30 Jul 2017 10:48:17 +0100 Subject: [PATCH] arch Gbp-Pq: Name arch.patch --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 32e273f1d..68647b6c6 100644 --- a/configure.ac +++ b/configure.ac @@ -244,7 +244,7 @@ AC_CHECK_PROG(YASM_CHECK, yasm, yes) if test x"$YASM_CHECK" = x"yes"; then if yasm -f elf64 src/common/crc32c_intel_fast_asm.S -o /dev/null; then echo 'we have a modern and working yasm' - if test `arch` = "x86_64" ; then + if test `dpkg-architecture -qDEB_BUILD_GNU_CPU` = "x86_64" ; then echo 'we are x86_64' arch_x32=0 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[ -- 2.30.2